package PTA.javabianchengjichu2;

import java.util.Scanner;



public class ex24{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        String[] str = s.split(" ");
        for (int i = 0; i < str.length; i++) {
            if (Integer.valueOf(str[i]) < 0){
                System.out.print(0+",");
            }else if (Integer.valueOf(str[i]) > 100){
                System.out.print(100+",");
            }else {
                System.out.print(str[i]+",");
            }
        }
    }
}
